package com.itheima.Service.Impl;

import com.itheima.Service.PurchaseService;
import com.itheima.mapper.PurchaseMapper;
import com.itheima.pojo.Purchase;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PurchaseServiceImpl implements PurchaseService {
    @Autowired
    private PurchaseMapper purchaseMapper;
    @Override
    public List<Purchase> getPurchaseRequestAll() {
        return purchaseMapper.getPurchaseRequestAll();
    }
}
